package cn.xiaopengstack.domain.trade.model.entity;

import cn.xiaopengstack.domain.trade.model.valobj.NotifyTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author jiangyangang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TradePaySuccessEntity {
    /**
     * 用户ID
     */
    private String userId;

    /**
     * 外部订单
     */
    private String outTradeNo;

    /**
     * 来源
     */
    private String source;

    /**
     * 渠道
     */
    private String channel;
    /**
     * 交易时间
     */
    private Date outTradeTime;

    /**
     * 通知类型
     */
    private NotifyTypeEnum notifyTypeEnum;
}
